package com.example.demo.Service;

import com.example.demo.Entity.AdminApplication;
import com.example.demo.Entity.UnlockApplication;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserApplicationService {
    public List<AdminApplication> selectAllAdminApplication();

    public AdminApplication selectAdminApplicationByUserID(String uid);

    public void addNewAdminApplication(AdminApplication adminApplication);

    public void deleteByUserID(String uid);

    public List<UnlockApplication> selectAllUnlockApplication();

    public void addNewUnlockApplication(UnlockApplication unlockApplication);

    public void changeUnlockUsedByUserID(String uid, boolean used);

    public UnlockApplication selectUnlockApplicationByUserID(String uid);
}
